<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
<h:head>
<title>Page B</title>
<h:outputStylesheet name="css/styles.css" /></h:head>
<h:body>
<h1 class="title">JSF 2.2: Blank Starting-Point Project</h1>
<p>
<b>This is Page B.</b> If you started at index.jsf and navigated here
by clicking the button, the URL will still say index.jsf. This is normal.
</p>
<div align="center">
<fieldset>
<legend>JSF Test Form</legend>
<h2>You entered "#{someBean.someProperty}"</h2>
<h:form>
  <!-- Calls "someOtherActionControllerMethod" and uses return value as base name of page to navigate to. -->
  <h:commandButton value="Return to Start Page" 
                   action="#{someBean.someOtherActionControllerMethod}"/>   
  <h:commandButton value="Stay on Page" 
                   action="#{someBean.nullActionControllerMethod}"/>   
                     <h:link value="Go to Page C" 
                   outcome="page-c"/>     
                     
</h:form>
</fieldset>
</div></h:body></html>